package com.allprs.common.core.domain.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 外部用户访问token表(SysUserToken)实体类
 *
 * @author wjf
 * @since 2021-09-03 11:08:04
 */
public class SysUserToken implements Serializable {

    private static final long serialVersionUID = 910000304611082004L;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户名称
     */
    private String username;
    /**
     * 用户token
     */
    private String token;
    /**
     * 开始时间
     */
    private Date createTime;
    /**
     * 是否有效 1-有效，2-无效
     */
    private String isValid;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 确认标识
     */
    private String idDci;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getIdDci() {
        return idDci;
    }

    public void setIdDci(String idDci) {
        this.idDci = idDci;
    }

}

